package com.jintu.portal.service;

import com.alibaba.fastjson.JSONObject;
import com.jintu.portal.pojo.entity.mysql.ParamDataSource;
import com.jintu.portal.pojo.submit.DataRequest;
import com.jintu.portal.pojo.submit.DataResponse;

/**
 * @author very
 */
public interface DataGetter {

    DataResponse requestDataFromParamDataSource(
            Integer userId,
            DataRequest dataRequest,
            ParamDataSource paramDataSource,
            JSONObject orderCache)
            throws Exception;
}
